package org.mzyyn.qr.constants;

/**
 * @author lipeng
 * @description rediskey小常量类
 * @date 2024/1/11 10:04
 */
public class RedisKeyConstant {

    /** 小程序前缀 */
    public static final String APPLETS_PREFIX = "jfxd:" + "common:";


    /**
     * 助力
     */
    public static final String ASSISTANCE_RECORD = APPLETS_PREFIX + "assistance:";//

    /**
     * 助力并发。1分钟只能一次
     */
    public static final String ASSISTANCE_BINGFA = APPLETS_PREFIX + "assistance:bingfa:";

    /**
     * 互助力
     */
    public static final String HUZHU_RECORD = APPLETS_PREFIX + "huzhu:";//


    /**
     * 拍卖参与记录
     */
    public static final String AUCTION_JOIN_RECORD = APPLETS_PREFIX + "auction:join:";//%s指商品id


    /**
     * 用户核心 信息：包括下面map的所有字段
     */
    public static final String USER_CORE_MAP = APPLETS_PREFIX + "user:core:";
    public static final String USER_JIFEN_MAP_JIFEN = "jifen";//积分
    public static final String USER_JIFEN_MAP_DONGJIE_JIFEN = "dongjie_%s";//冻结积分 %s指商品id

    /**
     * 商品结束时间
     */
    public static final String GOODS_END_TIME = APPLETS_PREFIX + "goods:endTime:";

    /**
     * 出价锁
     */
    public static final String AUCTION_BID_LOCK = APPLETS_PREFIX + "auction:bid:lock:";//%s指商品id


}
